package com.bwie.es.controller;

import com.bwie.es.mapper.HouseEsMapper;
import com.bwie.mapper.HouseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HouseControllerEs {
    @Autowired
    private HouseEsMapper houseEsMapper;
    @GetMapping("create")
    public void createEs(){
        houseEsMapper.createIndex();
    }
}
